package com.liangzi.service_core.mapper;

import com.liangzi.service_core.pojo.entity.VisitBooking;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 患者预约表 Mapper 接口
 * </p>
 *
 * @author zhj
 * @since 2021-12-13
 */
public interface VisitBookingMapper extends BaseMapper<VisitBooking> {

     //visitBookingQueryWrapper.eq("visit_medical_card_id",visitMedicalCard.getMedicalCardId());
     //   visitBookingQueryWrapper.orderByDesc("update_time");
    List<VisitBooking> getVisitBookingListByIdAndOrder(String visitMedicalCardId,String field,String sort);

    boolean updateBookingById(@Param("bookingId") String bookingId,@Param("bookingStatus") Integer bookingStatus);
}
